package com.example.authclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication // 作为spring boot项目 启动基础
@EnableEurekaClient  // 作为eureka的注册客户端
//@EnableEurekaServer
@EnableFeignClients   //作为可以feign访问的服务
//@EnableDiscoveryClient
public class AuthClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthClientApplication.class, args);
    }

}

